package com.bw.ogin.api

import com.bw.common.api.BaseApiService
import com.bw.ogin.entity.LoginResultEntity
import okhttp3.RequestBody
import retrofit2.http.Body
import retrofit2.http.POST

interface LoginApiServer:BaseApiService{

    @POST("/sysUser/loginUser")
    suspend fun loginToServer(@Body body:RequestBody):LoginResultEntity

    @POST("/sysUser/registerUser")
    suspend fun registerToServer(@Body body:RequestBody):LoginResultEntity



}